Recent blog entries

Posts Tagged '.Net CF'

We are pleased to present below all posts tagged with '.Net CF'. If you still can't find what you are looking for, try using the search box.

uNFC library : NFC with the Windows Embedded platforms

After the previous two articles describing the SPI and I2C buses and their use with the .Net Micro Framework, it is now finally time to see a practical application with my latest project available on CodePlex : uNFC – NFC library for .Net platforms ! Introduction : software and hardware support This library allows to use NFC integrated circuit connected to your PC (via serial) or to embedded system based on Windows Embedded Compact or .Net Micro Framework. It supports all three types of .Net Framework : .Net Framework 4.0 for PC based on Windows 7 / 8 or embedded systems based on Windows Embedded Standard 7 and Windows Embedded 8 Standard; .Net Compact Framework 3.5 / 3.9 for embedded systems based on Windows Embedded Compact 7 and Windows Embedded Compact 2013; .Net Micro Framework 4.2 and 4.3 for embedded systems like Netduino boards and .Net Gadgeteed boards; The library supports NXP PN532 chip but it also defines a little framework so that y ...

SQLite : .Net Compact Framework 3.9 and Windows Embedded Compact 2013 support

It’s well known that Microsoft made a very clear choice regarding the use of a DBMS within embedded products, from smartphones (Windows Phone) to tablets (Surface WinRT) via the devices based on Windows Embedded Compact 2013; this choice has a precise name and it is SQLite ! From WEC7 to WEC2013 : SQL Server Compact removed ! As far as Windows Embedded Compact, the change was made from version 7 to 2013, even removing the "SQL Server Compact" feature within Platform Builder Catalog Items (in the "Core" features related to the SYSGEN_SQLCOMPACT variable) through which it was easy to add support for this DBMS into the operating system image. Also, in the official MSDN documentation of .Net Compact Framework 3.9 it is described the removal of SQL Server Compact support within the framework itself and the use of SQLite is reported as a possible "workaround". At this point, we just have to accept the choice made ​​by Microsoft and explore how you can use SQLite in our embedded systems. SQLite : nati ...

M2Mqtt: MQTT client goes to version 2.4.0.0

New release for my M2Mqtt library, MQTT client available for any platform based on .Net Framework (from the desktop to the micro via the compact), now at version 2.4.0.0 and as always is available on CodePlex and Nuget. Bug Fix : message identifier no longer cross-broker This time the update contains, among other things, an important bug fixes on the message identifier generation for PUBLISH, SUBSCRIBE and UNSUBSCRIBE messages provided by the MQTT protocol. In previous versions, the generation of this identifier was encapsulated in the base class of the hierarchy of messages, the MqttMsgBase, highlighting the anomaly of a message identifier increasing cross-broker, which was used the same variable (static) for the generation also if the client was instantiated multiple times in our application to connect to multiple different brokers. Obviously, the protocol provides that the identifier is bound to the client-broker pair, namely that it is unique for each connection to the broker. .Net Compact Framework 3 ...

M2Mqtt : my MQTT client on Channel9 with the latest news !

m2mqtt_channel9

This time again with great pleasure, my M2Mqtt library (MQTT client for all versions of the. Net Framework) is mentioned in the "fardware friday post" on the blog Coding4Fun on Channel9 at the following link !

The post highlights the main latest features, support for security through SSL / TLS protocol and event management asynchronously. It is also highlighted my demo on the use of the MQTT client with 2lemetry platform.

The satisfaction is double in knowing that my work is attracting a lot of interest and that the library is increasingly being used. Obviously, this leads me to improve it and in fact approaching many surprises and improvements!

Occhiolino

Internet of Things : MQTT with 2lemetry platform

Now you can find numerous online platforms that offer the service of "device to the cloud," in order to acquire data from remote devices, save and expose them to other devices: one of these is 2lemetry. It provides a RESTful interface over HTTP and an MQTT interface that we are going to use with the M2Mqtt client library. First you need to register online : At the end of the registration, you can log in to your account page and view some information, including the most important one is the "domain", which will be the root of all topics on which we are going to publish or receive messages via MQTT. At this point we can move immediately to develop a simple application by choosing between all platforms supported by the M2Mqtt library (.NET Framework, .Net Compact Framework or. Net Micro Framework). In a real case, we use the Netduino Plus board with a temperature sensor (usually the TMP102 already widely used in previous posts and where the driver can be found in uPLibrary) to send the data collected onlin ...

M2Mqtt MQTT Client : 2.3 released with asynchronous events !

The development of this project began in April of this year with the objective of filling the absence of a good MQTT client for all .Net platforms. After 6 months I did not expect an interest so strong against him, probably due to the wave of the Internet of Things that is coming (or is already among us ? ) . Many people are using the library for projects of varying complexity , they send me mails ( with reports but also with compliments ) and open the "issue" on the CodePlex site , which I promptly resolve . This can push me to get better and better the quality of the project , now arrived at version 2.3.0 with some bug fixes but also with an interesting new feature : all the events raised by the MqttClient  class ( published message , the received message , ...) are executed in a separate thread , so the user no longer has to worry about launch "long" processing  in his event handler through a new thread. With this update, I hope to have made further improvements of great interest for those who ...

M2Mqtt : update on the Keep Alive management of the MQTT protocol

I made a bug fix on my Library M2Mqtt (MQTT client) that allows you to better manage the case where the client does not transmit anything for a time equal to the  "keep alive period " and the keep alive thread, whose task is to ping the broker to keep the connection alive, does not receive anything within the timeout period (ex. broker shutdown, network disconnection, ...).

The update is already available on CodePlex and Nuget !

MQTT over SSL / TLS with the M2Mqtt library and the Mosquitto broker

After releasing the new version of my M2Mqtt library with support for SSL / TLS with server-side authentication, the time has come to show you an example of use. Choose and install the broker: Mosquitto First we have to choose an MQTT broker among those available but unfortunately no one is developed using the .Net Framework . Discarding more complex solutions , especially with regard to the installation and configuration , such as IBM Websphere , we can take into account to brokers like RabbitMQ , HiveMQ or Mosquitto. In this case , my choice was Mosquitto that we can download from the official web site for various operating systems based on Linux , as well as there is a convenient installer for the Windows environment . In fact, for Windows there are two installation modes: the first uses an installer in which the broker is compiled natively while in the second case is based on the Cygwin provides a Linux-like environment for Windows. It 'obvious that the first mode is the most simple and immediate . Afte ...

M2Mqtt : support connection to a broker in IPv6

I just updated only on CodePlex (for now) M2Mqtt library (version 2.1.0.0), adding the automatic detection of any IPv6 address to connect. To determine the address class (AddressFamily), I implemented the '"Extension Method" GetAddressFamily() for the IPAddress class through the static class IPAddressUtility, necessary only because the. NET Micro Framework does not itself provide the property AddressFamily the IPAddress class. In fact, in the case of full / compact. Net Framework is returned that property while in the case of. NET Micro Framework is done by a simple search of the ":" character (separator in IPv6 addresses). 1: public static AddressFamily GetAddressFamily(this IPAddress ipAddress) 2: { 3: #if (!MF_FRAMEWORK_VERSION_V4_2 && !MF_FRAMEWORK_VERSION_V4_3) 4: return ipAddress.AddressFamily; 5: #else 6: return (ipAddress.ToString().IndexOf(':') != -1) ? 7: AddressFamily.InterNetworkV6 : AddressFamily.InterNetwork; 8: #endif ...

M2Mqtt library: added support for SSL / TLS!

m2mqttpngssl_icon

I finally got what I wanted to add some time to my Library M2Mqtt : support for the SSL / TLS protocol !

With this new feature , you can now connect to a MQTT broker also using SSL / TLS (for .NET Micro Framework only up to TLS1.0 ) to take advantage of its key features: data encryption and server authentication through an X509 certificate (client authentication is not supported) .

To leave free choice to the developer wanted to or not to include this feature in his project ,I tied everything to the compilation symbol "SSL" which must be defined to add such support. In this way, for some platforms with less memory (see Netduino or FEZ Cerberus in the case of .NET Micro Framework ), you can exclude it , remembering to remove all references to assemblies that run the SSL / TLS.

Of course , as well as on CodePlex, the update is also available on Nuget !

As soon as possible, I will write a new post in which I describe an example of using secure connection with an MQTT broker like Mosquitto !

John Koot's blog

Search blog

Archive

Recent Comments

  1. Re: SurfPad: Index

    this is a good post that you have written you can add more about the outlook or some other technology...

    -- Configure Outlook 2016

  2. Re: Azure Sphere - Hands on!!

    Cool

    -- David Jones

  3. Re: Windows 10 IoT Core: Shutdown and Reboot the Raspberry Pi

    Bruce, I noticed that you are sending a REST web request for controlling the pi. I looked online a for...

    -- Waleed Elmandouh

  4. Re: Strange HP Laptop Keyboard Fix–It worked for me.

    Eh its happened again! Yes [Fn] and [ctrl] keys are swapped. So time to shutdown and remove the battery...

    -- David Jones

  5. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    Thank you for the workaround. I just tried it on my Raspberry Pi 3 running Win 10 IoT. It solved the...

    -- Paul

  6. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    Thank you for the workaround. I just tried it on my Raspberry Pi 3 running Win 10 IoT. It solved the...

    -- Paul

  7. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    When the BLE dongle is inserted it shows up on the default startup app main page as two entries: USB...

    -- David Jones

  8. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    The above "comment" is the Device tree on Device Portal-Devices for the Bluetooth Driver/s with the ...

    -- David Jones

  9. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    >HTREE\ROOT\0 >ACPI ARM-based PC >Microsoft ACPI-Compiant System ...

    -- David Jones

  10. Re: Bluetooth Low Energy on Windows 10 Creators Edition and a RPi3 issue.

    FYI: On RPI2 ========== When my USB BLE Dongle is plugged in I get two entries on the main page for the...

    -- David Jones

Turkish porno izle video site in rokettubeporno izle